package com.example.hfSystem;

import com.github.xiaoymin.swaggerbootstrapui.annotations.EnableSwaggerBootstrapUI;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@SpringBootApplication
@MapperScan(basePackages = {"com.example.hfSystem.dao"})
@EnableSwagger2
@EnableSwaggerBootstrapUI
public class HfSystemApplication {

	public static void main(String[] args) {
		SpringApplication.run(HfSystemApplication.class, args);
	}

//	@Override
//	protected SpringApplicationBuilder configure(SpringApplicationBuilder applicationBuilder) {
//		return applicationBuilder.sources(HfSystemApplication.class);
//	}

}
